<div id="collection-page" class="profile">

  <%= render :partial => "collections/header", :locals => {:collection => @collection} %>

  <!--main content-->
  <!-- expects @works, @bookmarks -->
    <% unless @works.blank? %>
      <%= render :partial => 'works_module', :locals => {:collection => @collection, :works => @works} %>
    <% end %>

    <% unless @bookmarks.blank? %>
      <%= render :partial => 'bookmarks_module', :locals => {:collection => @collection, :bookmarks => @bookmarks} %>
    <% end %>

  <% if @works.blank? && @bookmarks.blank? %>
    <p class="alt message">There are no works or bookmarks in this collection yet.</p>
  <% end %>
  <!--/content-->
  
</div> 
